nd/ register
Command/ rightlabeltext
Command/ script
Command/ section
Command/ seeregister
Command/ setupcombinedlist
Command/ setupitemgroup
Command/ setuplabeltext
Command/ setuppairedbox
Command/ setupregister
Command/ shift
Command/ sorting
Command/ startattachment
Command/ startbackground
Command/
t; >
> > Why do pass a option for the typing environment to \starttext?
> >
> > > \definetextbackground[code][background=color, backgroundcolor=lightgray,
> > > frame=off, location=paragraph]
> > >
> > > \setuptyping[before={\startbackground[code]}
gt; > \definetextbackground[code][background=color, backgroundcolor=lightgray,
> > frame=off, location=paragraph]
> >
> > \setuptyping[before={\startbackground[code]}, after={\stopbackground}]
> >
> > \starttext[option=XML]
> > \starttyping
> > This is s
=paragraph]
\setuptyping[before={\startbackground[code]}, after={\stopbackground}]
\starttext[option=XML]
\starttyping
This is some code
a second line
\stoptyping
\stoptext
When I use \definetyping[Mytyping][option=XML] and then use \startMytyping ...
\stopMytyping nothing changes
; >
> > > > \setuptyping
> > > > [before={\blank\starttextbackground[Code]},
> > > > after={\stoptextbackground\blank}]
> > > >
> > > > \starttext
> > > >
> > > > \starttyping
> > >
gray,
> > > location=paragraph]
> > >
> > > \setuptyping
> > > [before={\blank\starttextbackground[Code]},
> > > after={\stoptextbackground\blank}]
> > >
> > > \starttext
> > >
> > > \starttyping
>
:
\definetextbackground[code][background=color, backgroundcolor=lightgray,
frame=off, location=paragraph]
\setuptyping[before={\startbackground[code]}, after={\stopbackground}]
\starttext
\starttyping
This is some code
a second line
\stoptyping
\stoptext
However, I use pretty printing. When you add [option=XML
e]},
> after={\stoptextbackground\blank}]
>
> \starttext
>
> \starttyping
> This is some code
> a second line
> \stoptyping
>
> \stoptext
>
> Wolfgang
Okay so first sorry that the example missed the \starttext ... \stoptext. Won't
happen again.
So unfor
> \starttextbackground[code]
> \starttyping
> This is some code
> a second line
> \stoptyping
> \stoptextbackground
\definetextbackground[code][background=color, backgroundcolor=lightgray,
frame=off, location=paragraph]
\setuptyping[before={\startbackground[code]},
Hello,
is there a way to draw custom background (via MP) to a text typed by
\typefile, which is so long so it spreads over more pages?
- I'm asking because I know how to typeset some text via \typefile with:
1. this:
\definetyping[Test]
[before={\startbackground[background=color
extbackground[xx]
>> \stoptextbackground
>>
>> can you try to use that instead? less page overflow too
>>
>> (actually i should iontegrate some title line in that)
> A limitation of textbackgrounds is the limited control over the vertical
> space at page brea
but with textbackgrounds you can just control the space at the end and
end of the environment.
\showframe[text][text]
\starttext
\dorecurse{3}{\samplefile{knuth}}
\startbackground[topoffset=1em,bottomoffset=1em]
\dorecurse{2}{\samplefile{knuth}}
\stopbackground
\dorecurse{2}{\samplefile{knuth}}
\page
ext
> > ```
>
> Another option will be to use the algorithmic module:
> https://bitbucket.org/wolfs/algorithmic/src/
>
> > 2. It would be cool, if I can define some background color for the code.
> > Unfortunately I'm very new to context and haven't seen a direct option. I
>
I'm very new to context and haven't seen a direct option. I
assume this is possible with some kind of extra environment around the code?
You can add
\setupbackground[background=color, backgroundcolor=gray]
\setupvimtyping[python]
[
before={\startbackground},
after
displayed?
>
> \automigrateinserts
> \starttext
> \startbackground
> This is a test\footnote{Footnote} continue
> \stopbackground
> \stoptext
>
> According to node-mig.mkiv, this might cause problems with notes inside
> captions.
>
> Aditya
This indeed does th
On Wed, 12 Jul 2017, Mathias Schickel wrote:
Does no-one know what I can do to settle the problem?
[...]
So what can I do to get the footnotes in a background environment
displayed?
\automigrateinserts
\starttext
\startbackground
This is a test\footnote{Footnote} continue
\stopbackground
]}, after={\blank[5*small]}, topoffset=10pt, bottomoffset=10pt, leftoffset=10pt, rightoffset=10pt]\setupframedtext [width=\textwidth, frame=on, framecolor=black, rulethickness=1pt, background=""> backgroundcolor=red, corner=0, offset
]
%
\starttext
%
\startbackground
%
If you typeset text with background, the footnote workaround does not
work.\postponenotes\footnote{So what could I do to get this footnote displayed?}
%
\stopbackground
\flushnotes
%
\stoptext
Can anyone tell me what I can do
%\page
\block % partially on page 2
\startbackground
\block % only on page 2 if \page is uncommented
\stopbackground
\stoptext
Thanks in advance,
Sytse Knypstra
___
If your question is of interest to others
:
\defineenumeration[proclaim]
[text=,
before={\blank\startbackground[frame=off,leftframe=on,
rulethickness=2pt,framecolor=darkred,
background=color,
backgroundcolor=screen]},
after
On 4/24/2015 4:22 PM, Aditya Mahajan wrote:
I have a complex document, where I use
\startbackground
\startplacefigure[location={always,none}]
...
\stopplacefigure
...
\stopbackground
(This is for exam solutions and the background is supposed to be a frame
around the solution; the figure
I have a complex document, where I use
\startbackground
\startplacefigure[location={always,none}]
...
\stopplacefigure
...
\stopbackground
(This is for exam solutions and the background is supposed to be a frame
around the solution; the figure is a figure included in the solution
Hi folks,
Just a question:
I have this textbackground environment:
\definestartstop
[teoria]
[ before={\startbackground[background=color, backgroundcolor=mteoria,
frame=on, width=broad, after={\bigskip}, before={\blank[big]\testpage[2]},
backgroundcorner=round, backgroundradius=5ex
Hi,
I observe that if startbackground stopbackground has footnotes inside, then
page breaks are placed before and after footnotes with blank pages...
Anyone does know anything about that?
Thanks
___
If your
Thanks Aditya.
What's the difference between startbackground and starttextbackground? I can't
see the options of textbackground.
Thanks,
___
If your question is of interest to others as well, please add an entry
Sorry, I mean Wolfgang not Aditya ;-)
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage :
Hi,
I have a footnote in \startbackground \stopbackground environment and the
footnote is not displayed. Can anyone give me any hint?
thanks in advance,
Xan
___
If your question is of interest to others as well
Am 22.05.2014 um 14:25 schrieb Xan dxpubl...@telefonica.net:
Hi,
I have a footnote in \startbackground \stopbackground environment and the
footnote is not displayed. Can anyone give me any hint?
Add the command \automigrateinserts before \starttext.
Wolfgang
on the same page. How to work around it?
---minimal example---
\starttext
\chapter {Bsaoteh}
\defineenumeration
[excursion]
[text=Excursion,
listtext={Excursion~},
counter=theorem,
before={\blank\startbackground},
after={\stopbackground\blank}]
\input knuth
\input
~},
counter=theorem,
before={\blank\startbackground},
after={\stopbackground\blank}]
\input knuth
\input knuth
\input knuth
\placetable
[here]
[tab:bala]
{Blaoesunthaoeusatoheu saohusaoteh asotehu asoehu aseohu}{
\bTABLE
\setupTABLE[frame=off]
\setupTABLE[r][first][topframe
[MyExoNumber][way=bysection,sectionumber=yes]
\setuptextrules[rulecolor=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,backgroundcolor=white,
framecolor=darkred
\definenumber[MyExoNumber][way=bysection,sectionumber=yes]
\setuptextrules[rulecolor=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,backgroundcolor=white,
framecolor=darkred
=bysection,sectionumber=yes]
\setuptextrules[rulecolor=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,backgroundcolor=white,
framecolor=darkred]}
\defineenumeration[exo
=0.25cm, %
leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}] %
\startbackground\switchtobodyfont[18pt]}, %
after=\stopbackground] %
%
\definestartstop
, the math overruns its lower bound. How can I get
everything to stay inside the background?
A minimal example:
\starttext
\input knuth
\startbackground
\input knuth
\dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula}
\stopbackground
\stoptext
I've tried some of the options
get
everything to stay inside the background?
A minimal example:
\starttext
\input knuth
\startbackground
\input knuth
\dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula}
\stopbackground
\stoptext
I've tried some of the options in \setupbackground with no luck, and have
also tried
or \definevimtyping. (I haven't tested
it too much, hence no new release at the moment).
Note that this works differently from \definetyping. The typing
environment honors the leftskip set by its parent environment (for
example, if typing is inside startbackground); vimtyping environment
resets all
.
Note that this works differently from \definetyping. The typing
environment honors the leftskip set by its parent environment (for
example, if typing is inside startbackground); vimtyping
environment resets all the settings of its parent environment.
That's why the hacks that I tried before all
Am 26.05.2012 um 04:57 schrieb Aditya Mahajan:
Hi,
Simple backgrounds are not working with the latest beta. The following has no
background color.
\setupbackground
[background=color, backgroundcolor=red]
\starttext
\startbackground
ABC
\stopbackground
\stoptext
Name clash
On 26-5-2012 10:56, Wolfgang Schuster wrote:
Am 26.05.2012 um 04:57 schrieb Aditya Mahajan:
Hi,
Simple backgrounds are not working with the latest beta. The following has no
background color.
\setupbackground
[background=color, backgroundcolor=red]
\starttext
\startbackground
ABC
Hi,
Simple backgrounds are not working with the latest beta. The following has
no background color.
\setupbackground
[background=color, backgroundcolor=red]
\starttext
\startbackground
ABC
\stopbackground
\stoptext
Aditya
=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,
framecolor=darkred]}
\defineenumeration[exo]
[location=hanging,
width=fit,
text
Hi Hans,
If this can be of any help for you to localize the origin of the bug with the
latest beta (ConTeXt ver: 2011.12.18 15:57 MKIV), I would like to report that
when a \framedtext is used by its own, the result is as expected, while when it
follows \startbackground …. \stopbackground
it
follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult
is the same when \framedtext is before textbackground).
The example is:
\starttext
\definetextbackground[test][backgroundcolor=lightgray]
\starttextbackground[test]
\input ward
\input ward
\stoptextbackground
,
corner=round,
topoffset=0.5cm,
leftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
,
after=\blank,
corner=round,
topoffset=0.5cm,
leftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after
,
topoffset=0.5cm,
leftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style
]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style=italic]
\starttext
First footnote.\footnote{This one works.}
\startSomeDocument
Second footnote.\footnote{This one doesn't.}
\stopSomeDocument
\stoptext
something better next time.
What you defined was the following piece of code:
\crlf
\setupbackground[..,.=.,..]
\startbackground
\startlines[style=type]
\setupalign[right]
\starttyping
…
\stoptyping
\stoplines
\stopbackground
\crlf
1. You used \crlf to add a empty line at the begin and end
but I’m going to explain
what was wrong, this will help you write something better next time.
What you defined was the following piece of code:
\crlf
\setupbackground[..,.=.,..]
\startbackground
\startlines[style=type]
\setupalign[right]
\starttyping
…
\stoptyping
\stoplines
,
bottomoffset=0.5cm]
\startbackground
\startlines
},
after={
\stoplines
\stopbackground
\crlf
},
commands={\setupalign[right]},
style=type]
\starttext
Hello World
\startCodeExample
\starttyping
Hello World
,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
\startlines
},
after={
\stoplines
\stopbackground
\crlf
},
commands={\setupalign[right]},
style=type
=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style=italic]
--
Kip Warner -- Software Engineer
OpenPGP
,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style=italic]
Then used as such:
\startSubDocument
...
\stopSubDocument
--
Kip Warner
={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground},
after=\stopbackground,
%commands={\setupalign[flushleft,broad]},
style=italic]
\starttext
\input knuth
\startSpecialFramed
\dorecurse{6}{\input knuth\par}
\stopSpecialFramed
\input knuth
\stoptext
. Example:
···8
\setupbackground[
corner=rectangular,
frame=on,
background=,
]
\starttext
\startbackground
\dorecurse{42}{\input dawkins \endgraf}
\stopbackground
\stoptext
···8
=rectangular,
frame=on,
background=,
]
\starttext
\startbackground
\dorecurse{42}{\input dawkins \endgraf}
\stopbackground
\stoptext
Hey Phil,
I'm not very competent with ConTeXt, but I tried to translate what you
and wrote into the following:
\def\StartSpecialFramedText
Am 07.07.2011 um 03:16 schrieb Kip Warner:
I'm not very competent with ConTeXt, but I tried to translate what you
and wrote into the following:
[...]
Solution 1:
\definestartstop
[SpecialFramed]
[
before={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground
,backgroundcolor=gray]
\startbackground
\textrule{#1}#2\textrule
\stopbackground}
or
\define[2]\MyQuotationCommand
{\setupbackground[background=color,backgroundcolor=gray]
\textrule{#1}%
\startbackground
#2%
\stopbackground
/environments which have a background, e.g.
framed, background or textbaxkground.
\define[2]\MyQuotationCommand
{\setupbackground[background=color,backgroundcolor=gray]
\startbackground
\textrule{#1}#2\textrule
\stopbackground}
or
\define[2]\MyQuotationCommand
=on, % suggested by Luigi, in his answer
rulethickness=1pt,
rightframe=on,
width=\textwidth,
leftframe=on]
\startbackground\unvbox8001\stopbackground%
\setupbackground
[bottomframe=on,
topframe=off, % suggested by Luigi, in his answer
rulethickness=1pt,
rightframe=on,
width=\textwidth,
leftframe
highlighted texts…).
I guess this is also possible with textbackground:
\newcounter\CurrentBackground
\def\StartBackground
{\doglobal\increment\CurrentBackground
\setposition{Background:b:\CurrentBackground}%
\startbackground}
\def\StopBackground
{\stopbackground
\setposition{Background:e
it doesn't when it spans over three
pages or more, but this is not a real issue, since it is a bad idea to have
such long highlighted texts…).
I guess this is also possible with textbackground:
\newcounter\CurrentBackground
\def\StartBackground
{\doglobal\increment\CurrentBackground
,
rightframe=on,width=\textwidth,
leftframe=on]
\startbackground\unvbox8001\stopbackground%
\setupbackground
[bottomframe=on,
rulethickness=1pt,
rightframe=on,width=\textwidth,
leftframe=on]
\startbackground\unvbox8000\stopbackground%
\else
\setupbackground
[bottomframe=on,
rulethickness=1pt
Hi all,
I'm using context MkII.
My code is
\setupcolors[state=start]
\setupbackground
[bottomframe=on,
rulethickness=1pt,
rightframe=on,
leftframe=on]
\starttext
Good:
\startbackground
\input knuth
\stopbackground
Not good:
\startbackground
\input knuth
\input knuth
\input knuth
On Thu, Oct 14, 2010 at 11:05 AM, Emanuele Sacco
emanuelesa...@gmail.com wrote:
Hi all,
I'm using context MkII.
My code is
\setupcolors[state=start]
\setupbackground
[bottomframe=on,
rulethickness=1pt,
rightframe=on,
leftframe=on]
\starttext
Good:
\startbackground
\input knuth
,rightoffset=0.5cm,before={\blank[big]}]
\startbackground
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopbackground
\stoptext
-end of first minimal example
This works in mk II, but not in mk IV. It seems that
start/stopbackground has
,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
\startbackground
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopbackground
\stoptext
-end of first minimal example
This works
=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
\startbackground
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopbackground
\stoptext
-end
Hi All,
Here's a corner case for you: place a figure with the 'force' option,
followed by an enumeration with a background. Like this (also
attached as tadtest1.tex):
\defineenumeration[enum][before={\startbackground},after
.
\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackground}
\blank}
- the above \quotebox command, in some cases, sends pdftex
On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote:
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackground}
\blank}
- the above \quotebox command, in some cases, sends pdftex and luatex (MKII
and MKIV
on MKIV. Unlike MKII.
- MKIV, unlike MKII, doesn't setup any background color:
\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackground
of this was
that background=color
is no longer supported because you could use backgroundcolor.
\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackground
][before={\setupbackground[style=
\tfx,background=color,backgroundcolor=white,frame=on,framecorner=rectangular,framecolor=black,rulethickness=0.5pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.25cm,rightoffset=0.25cm,before=
{\blank[big]}]\startbackground\switchtobodyfont[10pt]},after
,
leftoffset=0cm,rightoffset=0cm,
backgroundoffset=.5cm,topoffset=-.3cm, % but not here
frame=on]
\starttext
\startbackground
\input tufte
\stopbackground
\vfill
\starttextbackground
\input tufte
\stoptextbackground
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
signature.asc
Description: Digital signature
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are internally lr in many
aspects (like positioning data relative to other data) and patching each
\input tufte
\stopTEXpage
\framed{Hello world}
\startframedtext
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are internally lr in many
\startTEXpage
\input tufte
\stopTEXpage
\framed{Hello world}
\startframedtext
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are internally lr
\startTEXpage
\input tufte
\stopTEXpage
\framed{Hello world}
\startframedtext
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are internally lr
=green,
frame=on,
backgroundoffset=.5cm]%,
%leftoffset=0cm,rightoffset=0cm]
\starttext
\startbackground
\input tufte
\stopbackground
\input tufte
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
signature.asc
and we
cannot see the text. I attached the PDF file produced.
I used texexec :
% texexec
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
and the following code :
\setupbackground[background=screen,corner=round]
\starttext
\startbackground
Lorem ipsum dolor sit amet, consectetur adipiscing elit
=round]
\starttext
\startbackground
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nam semper mi pellentesque diam. Vestibulum tellus erat,
vestibulum vel, blandit ac, placerat at, metus. Integer
rhoncus neque vel dolor. Sed dapibus arcu eu lorem.
In eleifend nunc nec justo. Maecenas
]
\stopalignment
# \startarabicpar \stoparabicpar
# \startarabictext \stoparabictext
# \startappendices \stopappendices
\startbackground \stopbackground
# \startbackmatter \stopbackmatter
# \startbaselinecorrection \stopbaselinecorrection
# \startblockquote \stopblockquote
# \startbodymatter \stopbodymatter
discovered an
alternative:
\setupbackground[frame=on,rulethickness=0.7pt,corner=round,bodyfont=11pt,width=\textwidth]
\startbackground
\stopbackground
dependin gon usage, this mechanism also provides background behind parts of
paragraphs, nested backgrounds, arbitrary mp backgrounds, etc
=0.7pt,corner=round,bodyfont=11pt,width=\textwidth]
\startbackground
...
\stopbackground
The only little problem is that background doesn't support
\definebackground yet, so you should either help yourself with
something similar to what I did:
\def\starthomework{\dosingleempty\dostarthomework}
\long
(vertically) a line before the table and ends a
line before the end of the table.
\startbackground
\rotate[rotation=270]{
\setupTABLE[width=\textheight, height=\textwidth]
\setupTABLE[r][each][height=0.13\textwidth]
\setupTABLE[r][1,2][align=lohi, height=0.06\textwidth]
\setupTABLE[c][1,2,3,4][width=0.15
the background,
but shifted. It begins (vertically) a line before the table and ends a
line before the end of the table.
\startbackground
\rotate[rotation=270]{
It helps if you place a '%' at the end, so
\rotate[rotation=270]{%
and similar to the rest of lines which don't end with a command
the background,
but shifted. It begins (vertically) a line before the table and ends a
line before the end of the table.
\startbackground
\rotate[rotation=270]{
\setupTABLE[width=\textheight, height=\textwidth]
\setupTABLE[r][each][height=0.13\textwidth]
\setupTABLE[r][1,2][align=lohi, height=0.06
a colored background (grey). I get the background,
but shifted. It begins (vertically) a line before the table and ends a
line before the end of the table.
\startbackground
\rotate[rotation=270]{
It helps if you place a '%' at the end, so
\rotate[rotation=270]{%
and similar to the rest
Olaf Mersmann wrote:
Hi list,
The second \subject{} causes a page break instead of wrapping into the
second column. Is this a bug, or am I missing something when using
\start- / \stopbackground?
It is probably a bug, but it is not likely that it will get fixed
soon. \startbackground
occurs on
because of \startbackground, best use textbackgrounds
Hi Hans, since textbackground seems now the default background feature to
use, do you plan to fix the textbackground overlapping trouble i submitted
some time ago?
remind me what it was ...
Hans
of \startbackground, best use textbackgrounds
Hi Hans, since textbackground seems now the default background feature to
use, do you plan to fix the textbackground overlapping trouble i submitted
some time ago?
Regards,
BG
___
ntg-context mailing list
ntg
]
[bodyfont=small,
before={\startbackground},
after={\stopbackground}]
\starttext
\input tufte
\input tufte
\input tufte
\input tufte
\input tufte
\section{joke}
Here is an example:
\startprogramlisting
Some code
\stopprogramlisting
And the text continues
\definetyping[code]
\setuptyping[code]
[bodyfont=small,
before={\startbackground},
after={\stopbackground}]
\starttext
\input tufte
\input tufte
\placedbsidebar{joke}
{\startframesidebar
\startcode
some code
\stopcode
\stopframesidebar}
\input tufte
\input
]
% Verbatim environment for programlisting
\definetyping[code]
\setuptyping[code]
[bodyfont=small,
before={\startbackground},
after={\stopbackground}]
\starttext
\input tufte
\input tufte
\placedbsidebar{joke}
{\startframesidebar
\startcode
Aditya Mahajan wrote:
framedtext does not break across pages :( Can startbackground be
persuaded to become sane?
We already have a feature request to make startextbackground do
everything startbackground can do. After that, startbackground
can be flagged a deprecated command.
Cheers
for not running into that bug) ; the pagebreak is just the
result of background going crazy (well, not being able to determine if
there is enough space left)
framedtext does not break across pages :( Can startbackground be
persuaded to become sane?
not today, best try \definetextbackground
the
result of background going crazy (well, not being able to determine if
there is enough space left)
framedtext does not break across pages :( Can startbackground be
persuaded to become sane?
Thanks,
Aditya
--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu
1 - 100 of 126 matches
Mail list logo